package com.course.serviceI;

import com.course.exception.ConnectionException;
import com.course.exception.DataNotFoundException;
import com.course.exception.LoginException;
import com.course.formbean.ProfileFormBean;

public interface SecurityServiceI {

	public String loginCheck(ProfileFormBean regbean)throws DataNotFoundException,LoginException ;
	 public void loginaudit(String loginid)throws LoginException;
	 public boolean changePassword(ProfileFormBean regbean)throws LoginException,ConnectionException ;
	 public boolean changeQuestion(ProfileFormBean regbean)throws LoginException,ConnectionException ;
	 public String recoverPasswordByQuestion(ProfileFormBean regbean)throws DataNotFoundException,LoginException ;
	 public String  checkUser(String userName)throws DataNotFoundException,LoginException ;
	 public boolean checkAvailability(String userid);
}
